<?php

	class adv_zone_model extends st_model {
		protected $_instance  = array(
										  'table'      => 'adv_zone', 
										  'primaryKey' => 'id',
									  );
		public function getZoneUrl() 
		{
			return site_url('admin/adv/zone/edit/id/' . $this->getId(), true);
		}
		
		public function getIndexUrl($param = '') 
		{
			return site_url('admin/adv/zone/index/' . $param, true);
		}
	}	
?>